﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ABMProductos.aspx.cs" Inherits="ABMProductos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style3
    {
    }
    .style4
    {
        width: 90px;
        height: 23px;
    }
    .style5
    {
        height: 23px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style1">
    <tr>
        <td class="style3" colspan="3">
            <asp:Label ID="Label1" runat="server" Text="ABM Productos"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td colspan="2">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td colspan="2">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style4">
        </td>
        <td class="style5" colspan="2">
        </td>
    </tr>
    <tr>
        <td class="style3">
            Codigo</td>
        <td colspan="2">
            <asp:TextBox ID="txtCodigo" runat="server" Enabled="False"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style3">
            Nombre</td>
        <td colspan="2">
            <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtNombre" ErrorMessage="El Nombre debe ser ingresado">*</asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style3">
            Marca</td>
        <td colspan="2">
            <asp:DropDownList ID="lstMarca" runat="server" Width="235px">
                <asp:ListItem Value="1">Silvapen</asp:ListItem>
                <asp:ListItem Value="2">Faber Castell</asp:ListItem>
                <asp:ListItem Value="3">Pelikan</asp:ListItem>
            </asp:DropDownList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="lstMarca" ErrorMessage="Debe seleccionar una marca">*</asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style3">
            Precio</td>
        <td colspan="2">
            <asp:TextBox ID="txtPrecio" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txtPrecio" ErrorMessage="Debe ingresar un precio">*</asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToValidate="txtPrecio" ErrorMessage="El precio debe ser un numero" 
                Operator="DataTypeCheck" Type="Double">*</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td class="style3">
            Stock Minimo</td>
        <td colspan="2">
            <asp:TextBox ID="txtStockMinimo" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="txtStockMinimo" ErrorMessage="Debe ingresar el stock minimo">*</asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator2" runat="server" 
                ControlToValidate="txtStockMinimo" 
                ErrorMessage="El stock minimo debe ser un numero" Operator="DataTypeCheck" 
                Type="Double">*</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td class="style3">
            Stock Actual</td>
        <td colspan="2">
            <asp:TextBox ID="txtStockActual" runat="server" Enabled="False"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style3">
            Fecha Alta</td>
        <td colspan="2">
            <asp:TextBox ID="txtFechaAlta" runat="server" Enabled="False"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style3">
            Fecha Baja</td>
        <td colspan="2">
            <asp:TextBox ID="txtFechaBaja" runat="server" Enabled="False"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td colspan="2">
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td rowspan="4">
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td>
            <asp:Button ID="Button1" runat="server" Text="Button" />
        </td>
    </tr>
</table>
</asp:Content>

